package com.wry.wry_test.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @Author: wangrongyi
 * @Date: 2024/8/6 13:48
 * @Description:
 */

@TableName("tb_hotel")
@Data
public class Hotel {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("name")
    private String name;

    @TableField("address")
    private String address;

    @TableField("price")
    private Float price;

    @TableField("score")
    private Float score;

    @TableField("brand")
    private String brand;

    @TableField("city")
    private String city;

    @TableField("star_name")
    private String starName;

    @TableField("business")
    private String business;

    @TableField("latitude")
    private Double latitude;

    @TableField("longitude")
    private String longitude;

    @TableField("pic")
    private String pic;

}
